fix some small bugs and improve video UI