Rebuilt the 'remove' function when deleting thoughts to be more 'generic' (created a method instead of directly deleting from listModel)