added stuff to change rendering mode at runtime from debug interface
Merge branch 'master' of github.com:ManicPumpkin/AgK-CG-MAI3