Fixed tooltip bugs, Firefox compatibility fixes, other fixes