Enforce even width and height for video

Also improve other error dialogs.