Implemented SpriteMap and SystemConsole; fixed compile errors; etc.