Added up/down arrow history, small fixes