removes mouseleave function, changes to hide immediately when x button is clicked, fixes issue with user-determined indicator color, cleans up code