Changes to task.py to reduce clutter and add missing content.
Tidy up recording submitted event.
Typo correction.
Merge pull request #328 from arjclark/db-tidy

Db tidy