improved tab view can now select tabs by pointer to contents / header
replaced uint tabs by int32 (better error management)