Added more verbose errors & pidfilepath option
Fixed os.access call