Slightly optimized code.
Memory address passed to printScreen function still screwy for some reason.