Resize window to be precisely the size of the video
cleaner code
Resolve conflictA