Thank you so much everyone for participating, as a thank you for taking part of this, I'm leaving the source code open for everyone to examine.
It's prototype quality, but I've learned a lot for a 2.0 rewrite. As for the license for this code, well, it's MIT. Basically can use it however you want, but if you do then just leave the name of mine somewhere in the thread. Don't actually require a copyright notice.
There's no documentation for this, but if you need any help, feel free to ping me on Discord.