Tabfile0.7 (soon finished)

tab file sweep handling, fixed tab file bug