Bugfixes and launchd plis for Mac OS X

See commit messages for more details