set and use progressDelegate property rather than casting to [NSApp delegate]
Fix for NSApplication delegate behavior in 10.10.
Merge pull request #185 from lindegroup/nsapp-delegate-yosemite-fix

Fix for NSApplication delegate behavior in 10.10.
merge in 1.1.1