Fixing up everything that apparently disappeared in the merge.

Everything being getting adding tasks, comments and hours functions all working. Everything is nearly finished, just need to do the hours (unless there is more broken that I havn't found yet)