Added code for tquery and tquerylisten for VERY basic ability to get loads