Integrate graphic display into main UI thread