Added getting the background and fixed many more errors.

A couple errors were in the template itself, including an
incomplete sentence in a docstring and having specified unique
identifiers as writeable. sge-pygame.py can now be used to run
example.py successfully, though I don't know if anything is
actually drawn correctly (need to test with actual graphics).