It was the only European gateway to China, and through Macau flowed Western technology and religion.
Macau opened up China to all European influence.
Didn't see the link to further discussion about independence?