Fixed Plugin loader causing dupe entries

Also fixed NPE when loading plugins from disk. Yay