Added pdf files to gitignore file.
SIGNIFICANTLY improved game loop by only drawing when at least one update occurs.