fix errors related to timers not started/not stopped; use TRACK_MIDDLEWARE comprehensively
avoid breaking template responses
oops, there's that same problem there as well
Merge pull request #7 from db48x/fix-timer-errors

fix errors related to timers not started/not stopped