Adds vertical and horizontal sprite generation

It adds the option to change the orientation of the generated sprite (it's in the options dialog)