Lotta EEPROM code... now works. Phew