Fixed minor pylint errors.

Leo build: 20140907103101
Fixed potential crashers in the vr plugins caused by the migration of code to qt_text.py.

Leo build: 20140907103140