Fixed session revoke handling, fixed undefined location, IM styles