Added editor. Still a lot of bugs floating around.