@elupus: Will put it on my todo-list although it will be a b*tch to debug. I still like to have this PR in as it can at least remedy the issue for now and is also quite handy when debugging. Agreed?

I am still wondering about @ulion his comment about making buffermode=0 mean no buffering. Which still seems to make more sense. @davilla / @elupus / @popcornmix : It's your call.