Add some Lua scopes, make debug statements print more debuggy stuff
Load debug stuff from settings, though... it has to load settings names (user vs default) explicitly?
Better scoping information