- Better checking for availability of console
- Less repaints/reflow after insertion of stylesheets

Signed-off-by: Christian Schepp Schaefer <schaepp@gmx.de>