Removal of various bugs causing the tile board to corrupt