Added rectangles to highlight days where minicriticals and criticals occur.
Also changed it so that way it saves on close no matter if the user clicked the quit button
or if they clicked the close button on the window for the application. Saving of the start datetime
and end datetime are fixed.