Issue #39: Unhandled event loop exception was fixed; minor bug with server buttons state was fixed