updated some rti stuff, added dbugging mechanisms