Changes to allow Orientation chages and figures in the DPI within Gem.  Note, PDF generation is broken.