Added obstacles flag for mission xml and implemented in UI