Fixed error with incorrect board filling plus others.