Moved task drawing routine to the Task object. Added the ability to select tasks.