wip: osx .pkg packaging with launchd seems to work; todo refactor into appbundler