Changes to support console-less running, and install/uninstallers for OSX