Move constants and globals tu code file.
Adjust frame score to be no greater than 10.