Change so DebugOutput properly closes on exiting of application
Change for UASQuickView to swap items correctly when not connected to APM