Fix the status of the buttons in the consoles when they are empty.
Change boolean test
Merge pull request #295 from ebocher/orbisgis-beanshell-ui

Fix the status of the buttons in the consoles when they are empty.