panic! if there was a problem during buffer creation
Merge pull request #107 from tomaka/check-buffers

panic! if there was a problem during buffer creation