Added custom error template
Updated today view and made minor code cleanups