Adding filtering to the SQL to get o more than 30 days of data on the hourly stats.
Adding comments to the code and cleaning up. Removing the unused divs from the page.