Simpler and better score calculation.

score = c * matches^3 * difficulty / clicks / time;
Improved tile shuffling.

Image files were selected from the beginning of the file list,
  and then placed randomly.
  In easier levels, always same small subset of images were used.
Now, images are both chosen and placed randomly.