add new function of encoding with audio in AVS tab.

improve the function of video preview in AVS tab

merge the confused 'one key encode' and 'encode' button in Video tab.

fix the bug that a second instance can not exit normally.