Fix error message to prevent potential stack reading
Autoformatting
Cleaned up window GLADE file
Allow shutting down the remote server
Allow killing the current window
Put new and close buttons on notebook