Occupancy plot in the GUI, some update in the code to get the occupancy data