Holy jesus, that was a lot of shitty code that I wrote. So many circular dependencies. Pretty stupid of me but whatever. The demo now worksish