Fixed minor regressions in particle extension; and more.

The regressions were mainly related to GM's somewhat peculiar
region handling when it comes to particles.

Also fixed a missing implementation of screen_refresh for OpenGL3.