Type score changed according to priority.
Different seed for score and strict score.
This finally fixes #1, but probably introduces some bugs which make
base64/FileWriter not work.