added history control for cli
tickscript V1r1 implemented; console/editor tests passed