Fixed loading map from external source with JSON

maploading works now with JSON from external source
Needs to buffer loading of whole game still though