Some cleaning up. Only show active scales in tooltip.