Update render.py

Added docstrings. Fixed variable names.

Made window smaller...