Lots of tweaks to try to resolve "slippages"  stopped it messing with pins unnecessarily  (NOTSLEEP stays HIGH)