simplify settings init in DepthViewWindow constructor.