Add support for an advanced task scheduler managed by the application.

Heh alright, done.