Map Editor Fixes

-changed code flow to potentially allow better error reporting
-implemented fix for live mapedit issue