adds missing semicolon
formatting: pads operators
puts square colour calculation in Square widget

removes dependency on Colour static.