Simplify code
homeGUI: switch from a const int to a preprocessor define.
Minor code style changes.
inputGUI: code style and organization changes
homeGUI: avoid the use of PowerOff, just in case that's what's breaking calculators.
Unfortunately this means a wacky workaround (only solution, as long as we want to avoid the use of "strange" syscalls).