Cortex: reduced time to wait for sleep function.
revert ksm modifications by voku
Merge remote branch 'halaszk/master'