Commiting partially fixed build.
typo
Second typo.
Renamed 'deadline' to priority. Added then, also, and fork task_t* methods.