Refactored to create tools toolbar and widget for composite image stack.