increase tabpagemax and disable autowrite