Removed the software pull-up from powerbuttond.py - replaced with 10k/100n hardware pullup and debounce on photocell input