Added a polling render method in addition to event-based.