Tweak screenshot.

Save scores locally.

Move some fuctions to util project.