JP-38 fixed some bugs with the tooltip gui and added wrap ui method