fixes for flow; added HA support; fixed device flow over tabs