Tweaks to improve compatibility (EEProm stuff only on ARDUINO)