Author: David Robillard <d@drobilla.net> Original GLX inspiration, portability fixes: Ben Loftis