Support for swank example.

Added PeekMessage and some of the associated constants to support swank
example.