* fixed classname comparison.
* fixed possible NPE in LUTViewer.
* improved canvas change in viewer.