Fixed that terrible while loop, supports bksp
Added command size limiting, lowered buffer size