Queuing to front resets the progress of the item that is currently being crafted, which is unfortunate. Thus I added a third queuing mode "Queue to front after next" which adds the requested item to the front of the queue only after the very next item has finished crafting.
The trade-off is that there is no visual feedback until this occurs, yet personally I find that this behavior is strictly more useful than the old "queue to front" such that I no longer use that old mode, but this is subjective I suppose.
For reference, here's my refactor of your mod including the new mode: https://gist.github.com/BlackCapCoder/8a149dae8855a55f86cf481409ae10a7