Added measurement zero'ing and extended the gui and dev programs a bit