Glad to help. Yeah, a sufficiently large (thrust) and lightweight (acceleration) sail could counteract and even exceed the sun's gravity. A sail mass/area of ~1.5 g/m^2, which accelerates at ~6 mm/s^2 at Earth would achieve this. Lower performance sails could still linger over the sun in "halo" orbits.
I think it's an opportunity when large organizations fail do do something new. They get out of the way, giving more flexible and innovative parties have a chance. I think expansion into space has, in part, been held back for a generation or two because we expected government space programs to do it all for us: throw enough tax dollars at it, and it will happen. It didn't, and now parties like SpaceX are making great strides - with government cooperation.
I've noticed several design suggestions in your code.