I have no idea what I'm doing really, but I hope that these notes help someone.
If anyone wants to adopt this it should be easy to modify and I "officially" give anyone permission to do so (and upload a better version).
This isn't exactly my magnum opus, more of something I threw together to help out a friend.
Zyga#8158 on discord.