Move closure library to root and use TabBar instead of TabPane.