Updated TasksViewer to display Due Date

Added due date output to tasks viewer.

Clean up code in relevant files.