images, input hooks, and back buffering