updates to code

checked mega and comms communication, added eeprom stuff to comms nano
so lockout persists between power cycles