Added 'sync_run_library' and 'sync_run_interval' preferences, adjusted how Main.update_config stores values and checks validity of account details.
[Issue #44] Added trigger to start synchronize task after the library updates