update resolutions dialog with all resultions and proper mode
Update cl_customheight and cl_customwidth with resolution when autodetecting.