Make the delay time a true lower bound
A zero delay time returns osOK instead of osEventTimeout
Moved the random() function in another file
Added more tests for the threads
Extended error codes
More error handling code
Keep track of all difficulties when creating the wrapper