Clean up the memory use (with the help of the Clang Static Analyzer). Also now configured to output widescreen images suitable for use as desktop images.