Have you considered accepting money on certain terms and subsequently using that money to do improvements? A couple millions can get quite far in improving certain aspects of the software, like UX, documentation etc.
It seems to me that your response was seemingly the right moral thing to do. However, I can also see a lot of practical benefits of having a pile of cash to improve open software.