Smarter buffers (re)sizing

it's 80% done. Acceptable performance and behaviour on resize of both WebGL and Canvas renderers for both retina and non-retina screens. Didn't quite test this on IE11 yet. A couple of improvements still outstanding.