Added the rectangle tool as part of the pensil tool, also fixed a error with the layers in the editor.