Added CheckEEPROM()

also added/change some comments