Added queueing of pressed keys