capital W for write to read-only buffer
remove VaryTabs() function, remove trailing whitespace automatically on buffer write
preserve file endings with comments