Bug fixes

Includes bug fixes including:

Correct days of week now pop up when you click on calendar days
Error handling has been added
Some formatting corrected