Improve cleanup of old connections and add status command to show connected servers

Also, hi Chandler.
Cleaned up connection state handling and config reading