Fixed a movehistorydouble bug, probably after merge. Score now takes a percentage of the score into account as well.