Fixed issue where the background in the minimap could have a part with a different color until the image was fully redrawn.
Refactoring structure a bit to deal better with gevent debugging.
Reorganizing debugger code.
Fixing debugger test suite.