Add a simple UI loop and a screen buffer