Took MrWint's run for a test drive and found a way to end input 12 frames sooner. Will contact him before submitting the improvement since I built off his run.
I wanted to ask permission first, which I did. If he doesn't reply for a while I'll submit it and include him.