Add -auto-orient option.
Add images to precompile target.
cleanup