Fixed MUF for main loop. Switch cleaning with 2nd inspection in failure loop.