Window tooltip cleanup

Tooltip now uses the correct gfx functions. There seems to be another gfx_string_width function that will need to be reversed. Its very similar to the current one but it takes into account new lines. A few small errors have been fixed in gfx_wrap_string.