optimization: when running backend and UI together with --websockets, backend and UI communicate using single process connection rather than websockets
updated TODO
updated TODO (removed issue which I cannot reproduce)