More features, but session detaching still buggy