Fix permissions for pen/glove mode and add more error checking to CPU/GPU control
fix settings not sticking on reboot