Did a bunch of stuff that fixes the linker error and hopefully stops it happening again.