Selection control almost working; still a problem with the buffer
element encoding or rendering.