refactored selector frame buffer interaction