Fix for stencil not being applied when using export_to_png()

Added with_stencilbuffer=True to the FBO instantiation in export_to_png().
This allows the PNG to be created with the stencil.

Also fixed minor formatting issues (white spaces)