Click Handling, changing UI elements, and removing divs of matched pieces