main: display correct error
parse: dont display DONE when an error occured
all: use new hlib.HscriptEncoder