added rtc and irtemp and lcd.  all working ok.  runtime is using a tickcount which isn't equivalent to seconds in realtime.