- Fixed a bug when no tab icon was specified and provoked styling issues.

- Improved the displaying/hiding of the title.
- Small code cleanup.