Added ids.
Reordered tabs as components
Worked around a selection problem under Linux