Added usability of up/down keys. Works just like CMDLine.