Added use of ansi-terminal to perform terminal clearing and a little aesthetic change.