branch mw4: fix SILSIM compile issue and suppress some console debug prints; simplify some magnetometer code for testing