Make SCREENDIMENSION constant
Change return value of showGraphicsEnv
Code update