Close #34. Move buffer size into settings