Implement new task button (fixes #17). Also fixes #22. Also addresses an
issue that the widget would sometimes get out of date.