A number of small fixes

Fix the limit and offset on the default task stream. Fixes some issues
with getUserTopTasks stored proc and clarifies some of the functions
associated with it.