Turn off some modes in term, increase buffer