Added try around loaded plugin directory so it will skip loading the plugins if there is an issue instead of crashing.