Cortex: Fixed Wake boost function, and more code style fixes.