A more complicated windowed program example.