changed screen rendering mode from preprocessor to runtime configurable