Split out actions which need running on each new terminal instance from those which only need setting when the network changes