Fixed a couple issues with configuration settings and the UI displaying them

 * The advanced mode option is now checked if true in settings during startup.
 * The titlebar logic is now sound for QDockWidgets, so changes to the Advanced Mode or the Dock Widget Title Bar Enabled option are properly reflected in the UI and by the titlebars of the dock widgets.

Note that this branch is dependent on some commits that should be in my other pull requests.