fixed openTab and getCurrentTab for now... until widgets work better