catch errors in eval, debug option for weave

Was trying to use weave to write up some notes and found adding debugging and error catching were useful.