Cleaned up some of the code associated with listening for the removal of shapes from the board.