Fix dll install location
Quit OS X app when window closes, fixes #26