toggle expansion on window.focus
Removed console logging used for debugging.
Merge pull request #2 from kazuhiro1982/toggleExpansionOnWindowFocus

toggle expansion on window.focus
A small improvement to how a selected tab is identified.
Merge remote-tracking branch 'origin/develop' into develop
Small improvements to code.
Allow tab snap feature to be enabled for tabs created in the foreground, or background or both.