Add autoscroll to the bottom and some cleanings#10 #4