Fixed path issue for LoadFunctionLibrary and restored the 'don't quit on error' behavior with GUI versions