Force debug mode for debug messages
Commented out unused/unneeded imports+

If anyone does need them, just uncomment it when you do.
Minor changes, more debug checks for error codes
Config file debug lines

This should finish the fixing of #49
Limit mode to 1 per player (top-level)

Fix for #50
Also some missing brackets have been added for previous commit