Included timer into the gameloop + minor changes

Also created key-press bool aray, and changed the background color to
black. Included redraw check as well.