texobj: add verbose api trace messages to several routines