Hotfix: Fixes array indices in function calls.
Adds some debug output to drawscreen.