Updated to reflect name and option changes.
Clean up output_close.
Clean up usage message.
Require non-zero width and height.
Call output_close() if an output file was specified.