changing to use the 2.0 renderers and windows with associated functions
instead of the surfaces.
changing more to use renderers