private function modeEcho($msg, $verboseLvl, $insertNewline, $dump, $error)
    {
        if ($this->verbose >= $verboseLvl) {
            if ($dump !== false) {
                echo '<fieldset style="margin-top:10pt;font-family:'.self::FONT_FAMILY.';">'
                    .'<legend style="font-weight:bold;">'.$msg.'</legend>'.cwsDump($dump, false).'</fieldset>';
            } elseif ($error !== false) {
                echo '<span style="font-family:'.self::FONT_FAMILY.';color:#CC0000">ERROR: '.$error.'</span>';
            } elseif (!empty($msg)) {
                echo '<span style="font-family:'.self::FONT_FAMILY.';">'.$msg.'</span>';
            }
            if ($insertNewline) {
                echo "<br />\n";
            }
        }
    }