Fix linenoise setup and warnings
Propagate errors up through sexprs