It's possible to echo all lines said in pm's to an @ window and you could make the script close the window afterwards (this is possible but I dont remember how), this way you will have only the serverwindow and the channels opened. That's already better than let htose opened too. Next you could (but this is less user-friendly) make your bot not respond to /msg's, but to /notice's only. This way you wouldn't have to reecho those commands to a window.
Probably you thought about this before, I'm just hoping I can help you with this ;p.