Refactor Display and Keyboard to perfect thread running.