Small corrections in buffer, completed WebGL back-end