Changed buffer name and set buftype.