Added keyboard support and minor tweaks.
Renamed drawBuffer() to isReadyToRender(), to make the method more readable. Added isKeyUp() and isKeyDown() Boolean methods, which return their respective functions. Added getKeyboardKeyCode(), which returns the most recent key press code. Spruced up isReadyToRender() to wait until all events have been tended to before returning true, which improved overall performance slightly.