This is actually a long comment. Concerning point 2: Here is an amusing example when the referee wanted to collaborate with the author on the paper that he/she was refereeing, and so contributed a two-page appendix to the paper without disclosing their identity:
(Excuse me for promoting my own work...)