Changed socket options so that server can reuse a dead socket.
updated event hooks for buttons in glade file
Changes to client example and client base class