Fixes for Tab-methods

Added missing return value for Tab.getDisplayState() and argument for Tab.setDisplayState