Fixed bug: hotplugging controller during game resulted in crash when dying.
Started work on level editor.
Placing ground tiles is now context-sensitive.