A number of improvements, including improved handling of termination and improved handling of fullscreen windows.