Improved Server and Client Communication

This code will allow the Server and Client to communicate much better
than before. Also, the game will be cycled more uniformly now.
Fixed Timing and Clock Issues

Without a print statement, the GameThread was doing absolutely nothing,
and it seemed to think that hours were passing within several seconds. I
added a sleep statement with try-catch, and I fixed a problem with
outputting the latest event in the log.