Fix removing input/output streams
Fixes for applet, remove application controls correctly and fix the device test button