Changed UI so tip box only shown for hints from database, per Mona.
Simplified element_has_id.