Fixed up drawing of tasks on calendar

Formatting changes