Make webgl work with forced software rendering.

The dynlib code totally breaks webGL. If the user chooses to enable this, it should be supported, through forced software rendering.