Adding check for output/console panel before posting render msg
fixes #906
Caching result of jsbin.panels.getVisible()
Merge pull request #1030 from remy/fix/906

Adding check for output/console panel before posting render msg