separate stack for kernel / user space

- introduce page guards to protect the stacks
- remove compiler warnings
- ensure CpuFrequency is never explicitly set to zero (PR #29)
This tag has no release notes.