refactoring of MapEditor code; rename MapEditor to GameEditor

Signed-off-by: anti-freak <antifreak2011@gmail.com>