moved populate chunk events to main event handler