Added Rectangle.Stroke.
Handle resizing the window.
Handle invalidation.