in reply to backgrounding a Tk process

You might be able to do this if you make the TK window the default mode and call the other modes from it.

Default mode = Tk;
print mode = hide Tk window, spawn a new shell
xterm mode = hide Tk window, spawn new xterm

you might want to hide the console window though.