Added enterFrameSignal and exitFrameSignal to game loop.