Capitalize first letter of task type when used as a title

Wherein I take a stab at tweaking code by pasting in something I found on StackOverflow. Better look this one over :P