Implemented some unit tests. Tweaked GUI and refactored code.

Okay I'll rewrite, but I also need to know if custom reminders should be able to be set by the user for individual tasks, and if I should be responsible for storing them.