After testing, it turns out that the program is super broken on Mac, and I think I need to program a whole seperate thing for it. Which unfortunately means no MacOS port in the mean time :(