more debugging

error captures, etc