Program closes with any screen which it should.