fixed ui lockup issue

Moved frame processing to bg thread