From my understanding, unemployment insurance only required that you take no/low salary from a company. You were still able to receive money from capital-gains/investments.
Start a consulting firm/startup, pay yourself a $1 salary with stock options. Don't exercise these options for a long time (when you stop UE). I read the UE stuff time and time again in Massachusetts and kept looking for something to say that I couldn't do this but couldn't find anything that said so explicitly. I didn't end up doing consulting (just more learning/studying), but it would have worked and been legal right?