improved datacontext handling in JThumbViewer and subclasses