Fixes for command output check UI http://virtualmin.com/node/33452