Attempt at implementing correct scrolling. Created framework for cursor blinking and arrow keys.