Fixed plugin loader so it doesn't suck.