Remove unused code

also changed editor so that drawing shapes no longer draws a green
outline while previewing