add reset command line option, load history error handling