Added a close button for the tabs (ButtonTabComponent).
Fixed the setting of drawUnproper.