Improve stability regarding sleep/resume, device disconnection. Change Minimum target to OSX 10.7