Fixed Linux/Mac compile error due to usage of variable name "default"
Fixed some compile warnings
Even more compile warning fixes
MORE warning fixes
Display a warning message when main menu is blocked too many times
A message about how to bypass the block
Fixup gamemode hook calling code for consistency
Also hopefully prevent a a case of cryptic "trying to call <type>" errors.
Also fixes crashes due to Lua panics