added and implemented settings and watchvideowindow