Refactored to remove dependency on the RF Pixel Control library.