Added support for disconnect codes in VIO. Varuous improvements to Switchboard app.