Close tabs when the connection was closed #39 , fixed defaults…