Minor modifications in tetris.core.