Detect swap buffer message, needed to be able to implement support for time warp #14 and for better tracking #16.