separated video and ui, changed video playback pipeline
merging