Make shifty table a global.
This should be exposed anyways.
Debug mode setting.
Treat log as a module, not using globals.