redraw mode can now be changed to enhance performance

the performance might be slow when displaying certain windows like
document structure or links, that will be constantly updated during
runtime. this will slow down the script. disabling redraw mode will
increase performance drastically, but also turns of the progress bar