Corrected implementation of acknowledgements of level transitions
Mode tracker moved from the namespace DMI to the structure