Refactors blank option.
Adds image output. Refactors.