Implemented parser functionality for processing map updates; general debugging.
Removed some legacy debugging code, cleaned up the source code.