AdoublebufferexamplebyKlaasHolwerda.Thisdoesthebuffering'manually',itseems.