I only watched it raw but from what I can tell, XHZ returns to the past and the FL is left in the present. We're left with the playboy DMT in the present. At least this is what I recall...
I have a feeling the mastermind is going to end up being either the deity fellow with nothing better to do (Cheng Huang) or the Ghost Queen (Qun Guang). Tho there's also the professor. He seems like he could be some mortal daoist or ghost catcher but still not ruling him out as the mastermind...