Move common code to render_state.py. TODO list update.
Run at higher resolution.