This includes the changes that you posted. 

The menus are all in the file "gc_menus.z".

The function that refuses to obey screen freezing is bool showStats, starting at line 582 of that file.