Add a bunch of level editor logic.