Implement missing controller functionality

Undoing and marking tasks complete.

Fixes #263.