adding datafile_saving to state & exposing in flask gui, also coloring connected/not connected etc...