Remove materials when surface is deleted.
Use nullptr for clarity.
Clean up page specific textures.

Some textures are created specifically for each page; these must be
removed when the page is removed.