more logging and better status handling, and package.json fixes