Set maximum dimensions
Clarify aspect ratio / maxgen functionality

* Aspect ratio explicit setting is useful to enforce on the backend
* Fix ceil() call so it happens last (KS2 maths, dude, seriously)
* Clean tests