ACCESS: Replaced delayMilli calls to use pollEventsAndWait