added logging of liquid temperature to SD and tweaked liquid level function