removed trivial dependencies, make TabWriter usable as standalone class