Support videoplayback error in native UI, better mem-management