2d cairo stuff, physics, window resize signal