It's also possible to use /window -h Windowname, for instance, /window -h #mIRC. That removes the icon for that window. To restore it, use /window -w windowname.