Painter: Significantly improve performance on vc Debug build.
Device: Use String parameter in setWindowTitle() and showError().