Updated gui to show names of objects on top of the rectangles