added minimap, json-mode