added return type to setStageDimensions, turned on 'showStats'
Optimizing...