Changed library UI structure to use tabcontrols