Tooltips rework.
Separate element for tooltips. Delayed showing,
use global color or given ones.
Add setting for tooltips show delay.
Fix statement not set NULL on deletion
Make local only variables static