qmd: code quality improvements

removed no-longer-needed breaks
changed error message for unknown QMD::Client error
pass this, so error messages log with plugin name