bug fixes in QuickRunShell