rCriticalSection & rSemaphore removed

SC_Semaphore errors fixed
Room for interrupt threads
Merge pull request #362 from Nekotekina/master

rCriticalSection & rSemaphore removed