render.py: Wrap in a __name__ check.

Benjamin Mako Hill || Want to submit a patch?