Added game logging. Tidied up word scramble code.