add activity indicators. make NetworkController singleton. various small fixes