made tabs work

many ui impovements