tabswitch: removal of unneeded tracing code