I've updated the game logic a bit, let me know if you're still getting errors and locks.
Let me tell you, making the levels was an ordeal as well. If it weren't for Scrabble solving websites, I don't think I'd have finished all our levels in time :D