Fix pause logic and C&C cheats menu

The first two patches fix the broken pausing interaction with replays and the debug menu. The chat spam on pause/unpause has also been disabled for singleplayer games.

The final two patches (blocked by the pause fix) make the cheats logic robust against missing widgets and moves the panel to the ingame menu in C&C. The Desync button has been removed from C&C as I consider it unnecessary and unpolished.