Tidy up SendInput and make more robust.
Disable minimal rebuild.