Added separate global define for game state logging. Logging pauses and unpauses as events. Refactored event logging code.