new libdraw, replaced cistrstr with fstrstr, simpler readstdin