Fixed bugs

-If the movequeue tries to add a random move when there are no legal
moves left, simply stops the movemaker rather than crashing
2