Added double buffering example.