Added Window Listener to Main Frame.
Connection should now disconnect on exit.
Added Interface for ConnectionPanels
Fixed small typos