Some cleanup, introduction of depth level entering for minimax