Added functionality to disconnect from server, user interface tweaks, and comments.