Fixes compiler warnings about shadowing global declaration
of screen.
Merge pull request #320 from hean01/bugfixes

Fixes compiler warnings about shadowing global declaration of screen.