Update README, allow setting TEXINPUTS, slightly improve error handling.