mapedit work

-fixes so far