cleaned up some stray code. got rid of some things which were obsolete. added a better UX when adding or updating a task