Fixed memory leaks while destroying and creating controllers by doing this in all the destructors:
Alot of my previous modules didn’t do this, looks like I’ll have to add it