Colibri: reorder init sequence of TaskMonitor

This is following #1246. The TaskMonitor must be initialized
before the EventDispatcher.