Implement UIEvent.getEvent, change to LinkedList

LinkedList of events is more appropriate as it is a queue.