added buttons, and ability to scale/rotate squares