Added select and lock logic to GUI and DiceManager