ReferenceError: UserErrors is not defined

Re 1 and 2 - I don’t know. Is it on your live site?
As for 3 - it’s because wixWindow is defined as ‘default’ in ‘wix-window’ while currentMemeber is not (therefore you have to put it in curly brackets).