Many RAW fixes ... mainly around waitqueue and timers
All of them must be tested by regresion (THIS IS MISSING!!)