Tweaked MarionetteClient to (hopefully) eliminate spurious missing-event failures in tests that are expected to fail at load time.  Eliminated a few compiler warnings.