ui.c: Don't check whether tab is valid when ui_m() is called in main thread
ui.c: Don't check whether tab is valid when ui_m() is called in main thread

A slight (or huge, depending on the situation) performance gain.

srijan/ncdc,Tilka/ncdc,srijan/ncdc,srijan/ncdc,Tilka/ncdc