fix issue #36, close tabs other than first one

fix for issue #36