Made the tab length settable rather than hardcoding it to 4.