Plugin manager now works but plugins fail to load because of a reload issue