Windowing with code from the wxpython manual.