Log some additional errors situations.
Move the rendering of each task row into a partial.