Ignore on_current_changed when last tab is closed. Fixes #146.