Implementing the 'windowChanged()' functionality when the pipeline changes. Also putting the name of the pipeline file in the title area