implemented remaining tasks counter. more main.js cleanup
built for gh-pages deploy