fixed disabling interrupts too long and fixed checking on mutex instead of jobs
fixed pendlist maintenance and deadline adjustment on OSMutexPend
working application code