Fix #184 kill problem
Fix #179 set_winsize()