Finished documentation of the Rectangle struct.
Mouse click detection for controls implemented.