Restoring and Redrawing

This section contains functions that restore objects and surfaces that may have been lost while the application is running.