Bug fixes, also made map loading accept config objects as well as file names
changed "mergeInto" to concat arrays if possible.