Enforcing the width and height of all rendered images to be consistent, and refactoring some of the classes and scripts to support this