General bugfixes, code cleanup, and better error handling for the reminder parser.