Changed function name
Changed vars
Changed function name
Changed dialog events