let Tbbn and Tbbp get the correct window (from yjpark)
filter out nofile buffers in tabtar's list (from yjpark)