Add fixes for RTC and NVAL commands from Oleg Titov - thanks!