Much smaller RAM usage, but possible (I beleave unimportant) errors when trasitioning between more than two flight modes.
* order of logical switches calculaton now predicable: always from L1 to L64 * each flight mode has its own logical switches context (RAM usage multiplied by number of flight modes) * resolved problem of non-reentrancy of getSwitch() function