Implemented server-side user interface, CloseConnection command, fixed
exception handling.