make dnc appear in frontmost on macos

Yes, this applescript is horrible. But it is the only way we could get it to work :(
Merge pull request #61 from duthils/macos-frontmost

make dnc appear in frontmost on macos