Results 3 issues of anzye

avoid segment fault when a vncclient disconnect while others are keep connecting.

Fixes #551 at first i input the enter key to active screen then it cant has focus on the input lineeditor. i found it occurs when you repeat to input...

resove issues #329 ,plug in a usb network device and remove it, after that switchboard will crash when opening again.