fixed some bugs with JB_Gui and tooltip