Changed to InnoDB and holy crap it is so much faster. Ditched hsqldb.
Implemented dayAction stuff.
Changed date range and fixed some bugs.
Not running at the moment as there are still some bugs.