Added check for no options in update_stats mgmt cmd
Modified templates to use aggregate stats. Closes #47. Also fixed bug with pagination in templates