Improve the loader: add quote to work with path with space, prevent dual loading, or unload when not loaded