Removed the round in milliseconds resolution

Fixed a bug when attempting to sleep the processor and the awake time has
already passed.

Use for instead of while
Merge branch 'master' of github.com:prggmr/XPSPL