Send report index as 8-bit int
Remove (un)compress from mysql queries
Pad day and month for loading old logs. strftime doesn't seem to like single digit dates.