Putting this here for the memories or something idk...
Has a few things missing from the final version, but this was the only code I have left.
Click below to see the actual final version.
Support Dominic Liotti, as this was mostly his brainchild. I just helped a bit.