Selection rectangle

Added selection rectangle in the editor. Really needs work still.