The code was just really poorly written and the way I was doing things was just pretty bad, and I was distracted by other projects, I'm probably gonna come back to it once I get something actually proper