fix bugs in text rendering
use shorter static name for stencil flag
fix plugin loading which broke due to merge