Changed executeDigitalPinMode() to avoid calling pinMode() if the mode is 4.
Note to myself: This stuff really needs to be refactored once PE 2.1 is out. Its current state is a total mess and I just can't stand it anymore.