Removed a few things that didn't make much sense

Also added a debug global