add show argument to docmds
Fixes for Qt 4.6 (RHEL)
fix: ensure that script events are disabled when no tabs are open