Config now stores default connections.
Added db information to the connections, Also fixed context menus.
Prevents duplicate connections being added in the default_connections config.
Connections specified through the command line are now saved in the default connections config. Prevents multiple connections to the same server during startup.
Removed config code duplication.