Changed date format to Year-Month-Day and padded zeros before numbers less than 10.
Changed iterating over dates to be a single for loop by just adding one to the current date.  This should fix the problem of iterating between months.
Sorted the domain dropdowns so you can find a domain easier.
Tested changes and they seem to work.  Combined some if statements into one statment.  Removed the code I had commented out.
Changed version number
Merge pull request #2 from harpesichord/master

Fixed bugs that were causing problems with the custom stats.