Created support in window class for trackbars and multiple image rendering in one window.