client status/gateway-info update handling and alot of minor fixes.