added third param for addTab: the class used for the view of the tab. also fixed tab label width calculation
added third param for addTab: the class used for the view of the tab. also fixed tab label width calculation

rsence/rsence,jammi/rsnc,rsence/rsence,rsence/rsence,jammi/rsnc,rsence/rsence