Fixed errors caused when trying to add/remove targets (and other subcommands). Due to lack of error-checking proper to acquiring preferences lock.
Fixed errors caused when trying to add/remove targets (and other subcommands). Due to lack of error-checking proper to acquiring preferences lock.

iscsi-osx/iSCSIInitiator,iscsi-osx/iSCSIInitiator,iscsi-osx/iSCSIInitiator