rtc:more robust error handling and performance mods