ported successfully from Qt4.8 to Qt5.0.2 + increased viewer performances.