better tooltip display on script errors