Added resize and close to NamedWindow, removed named window code from WebcamApp