Added ability to take a screenshot via ModPEScript.