Added error logging
Fixed tracker problem when lsof output was unusual