Tasks can now be attached to a hook with the add_task method.
Tasks can be forced to run from the admin area using GET variable force_tasks=true