Add some more robustness around reads, better error reporting, avoid possibility of bad PROM constants
Add second order temperature compensation