tweaked .gitignore
fixed buffer creation