Refactored automatic screenshot
Merged branch master into Issue#307
Fixed a NullPointerException in the StageListener
Merge pull request #369 from Catrobat/Issue#307

Fix for Issue#307
Merge branch 'master' into Issue#319