use fixed priority function
Rewritten renderer and some surfel manager improvements