UNTESTED - TTX Nametable, moved all globals to main_settings