I know Realm Works was mentioned (and discarded) early, but I'd recommend another look. It's true that LoneWolf has stopped development of this app, but they did get almost all of their intended functionality into it before they stopped, and they have recently squashed the last of the major bugs. They have also stated that if they ever do shut down their servers they'll make it possible to use without online functionality.
It is absolutely the most comprehensive world building/campaign management tool I've ever used!
It is absolutely the most comprehensive world building/campaign management tool I've ever used!