lots of little fixes/cleanups found when working on embedded
avr opens are now working using different library