Fixed DST bug, Calendar bug

Added code to compensate for DST (courtesy of mresoftware).  Fixed bug
that excluded midnight events from calendar generation