allows using chrome and callback at the same time
passes socket object to state and type ready events
lite ui work in progress
cleanup