adding support for tabs

Removed the tabs vs spaces argument, tw=0 is spaces
added more tests for tabs