Added basic map editing

Changed MapEditorPanel and TileEditorPanel to have static instances.

Signed-off-by: interdpth <interdpth@gmail.com>