fixed Delay (missing signal)
added priorities enum
fixed task statuses
add idle task: seems to be ok
NOT ok: wait instruction doesn't work, when a task is done the code doesn't work (maybe forkTask to be revisited)