examples/task: fix init code
router: use as-needed module loading

Forgotten in the last iteration on this...
router: move a "const" to default arg, removing a little overhead