System work. Started map editor

And by started map editor, what I mean is I created two files, stared
blankly at them for 20 minutes, then decided that 11 hours of coding was
enough.
Merge remote-tracking branch 'origin/master' into lordkat-workingcopy
map editor started

And by started I mean there's kind of a UI there. Almost. Maybe? IT
SCROLLS WITH MOUSE! :D
map editor continues

map editor build continues. right click to drag map, left click to alter
tile, f5 = save
data update.
Changed map size

Does this work in the majority of video cards?
forgot to add the debug map!

changed.
Continued map editor improvements

I must document these changes.

F1 = rename map.
Continued map editor improvements

F1 = rename map
More map editor changes.

F1 = rename
F5 = save
F9 = load

To use: press function key. Use keyboard to type with. Press enter when
done. Use mouse to edit things.
Left/right arrows to change tile (this will change in the future).
Merge branch 'lordkat-workingcopy' of https://github.com/LordKaT/Wyrmwick

Conflicts:
	src/debug.h
	src/define.h
	src/input.cpp
	src/menu.h
Merge branch 'lordkat-workingcopy' of https://github.com/LordKaT/Wyrmwick
Fix the mysterious disappearing segfault.

It's ever so fun whenever bugs only appear when you're NOT running in a debugger.