Code formatting & GamePause optimization