Allowed line, rect and circle to be drawn without specifying the colour.
Also added a new drawLine command that continues from the previous end coordinates.