Added Window listener to properly shutdown the application on close... capture device is now released properly