Fix two bugs:
1 - The ceiling function does not properly work for months with only 30 days in them and where you the input time is on the first. This is because it added 30.5 days to the start time instead of properly counting the days in the month. The fix was relatively straightforward.
2 - When drawing ticks, fix an off-by-one error if the tick falls exactly on the first pixel. It would previously not draw the first tick and instead draw a second one at the end.