Merge pull request #15 from OddBloke/master

Use a DEBUG global variable instead of commenting debug code.
Make print_fps private.