fixing lots of broken tests, and adding support back for the event/notifier feature using the new task system.