Moved to Cocoa for transformation and activation.
Moved application activation to window showing.

Fixes #93.