Refactor

Code cleanup that addresses issue mentioned in Readme. The majority of settings handling has been moved to zealsettingsdialog.cpp.