title: Plugin closure and parsing params
body: <p>I am writing a firebreath plugin that is supposed to display some object. </p>
  
  <p>There are many cases of failure, since it is communicating with local software.</p>
  
  <p>In case of a failure I want to close the plugin and to display a regular image instead. Or to get an image URL as a parameter, to parse the file and display it.</p>
  
  <p>Both options are acceptable.</p>
  
  <p>So-</p>
  
  <ul>
  <li>What is the better option?</li>
  <li>How do I totally close the plugin?</li>
  <li>How do I parse parameters that are passed form the object tag?</li>
  </ul>
  
  <p>I tried plugin->getParam("Name"), but didn't get the valueI passed.</p>
  
  <p>How do I do it?</p>