fix last issues for tabcontrol/tabitems

Closes #566 
Closes #627 
Closes #551