performance improvements from mapjs
make export json.stringify diff nicely
attach editor to close after saving
move test out of offline mode