Added 'const' in a lot of places it should have been.
Changed function used for dragging score towards 0 as we approach the 50-move-rule. Also simplified the associated code.
Fixed incorrect comment.
Made very slightly improvement to draw detection in search (to save calls to IsLegalMove()).
Evaluation now returns score in centipawns (rather than converting later).