size change, dt implementation, draw and update loop organization