Completed UI loop, added scroll bar, submits input on enter press.