No Dead Followers Request

Hello!

A few months ago...well, maybe a year ago at this point, I requested a plugin here to prevent knocked out party members from following on the overworld, and to also automatically change the formation to put knocked out followers at the end of the party. Someone named Sunder (https://forums.rpgmakerweb.com/index.php?members/sunder.141400/) made the plugin for me, and it worked great with two problems. I asked him to update it but he either left the forums or became inactive for some time. I was wondering if someone else could either make the plugin for me or modify the existing one to fix the problems it has?

Problems
1. The player still has the ability to move "dead" party members using formation. As the plugin forces dead party members to the back of the party, I'd like the formation feature to not be able to move KOd members via the formation feature.
2. If a party member is KOd in battle, they immidiatley in the middle of battle switch to the end of the party. This is super strange for obvious reasons, is there a way I can get the check to only happen after a battle has concluded?

I've attached the plugin. Please let me know if anyone can help!

(Also, I'm pretty sure I'm allowed to just post his plugin here because he made it for free and posted it in the original topic which I cannot find, but please let me know if that's not allowed.)
Here you go!

Try replacing the old file with this one.
Reply here if there are any further problems.
Thank you so much! I'll try it out!

Original thread: https://forums.rpgmakerweb.com/threads/no-dead-followers-request.116398/