Fixed up loading Tasks and TaskComments, restructured a lot of things and fixed a lot of bugs to help make the local copy also work with the mercury server.