added nmr acquisition & mw on/off code, some UI udpates