Fix memory problems by clang analyzer
Fix scrollback loading

Maybe related to #43 #47 #73
update readme