Added AssemblyResolver and error handling to gracefully handle failed plugin loading.