Implement connection restoration

Did some header cleanup to suit the changes...Not really
required to the implementation, but kind of relevant.

Also fixed a spelling error: The text in the General panel
is now: Restore connection"s" on startup.
Implement settings for un-warned quit