-change UI thread to main thread.
-fix tab button don't recover after close one.
-fix crash when close tab.
-fix accelerate key don't work.