Added a ton of logging; fixed Logged-In checks
Added a uniqueness check for adding new config.Domain's - not sure if it works
Moved code around for the main(); added config view and save