CPU scaling: Fixes and tweaks