ARC + modernized + refactored + simplified

Implemented most opportunities to use Blocs-based API's. everything
works AOK.  initial work to port to Cocoa done, too.