Better error logging, and support unpriv'd accounts