Catch exceptions in ServerWindow #25

Minor changes to the Server and ServerWindow classes