clear lines instead of clearing whole window
auto refresh
fix trailing whitespace
update readme