Move coordinate mapping functions to plugin code.
Move texture upload to bind() in render thread.
Nicer colormap menu in example.