Happy Easter first of all! Sorry to disturb you on a holiday. But these are the days I have most time left from my day job.
It seemed to work in the beginning, but then there were some glitches and finally, when I tried to render a small demo project with REAPER it failed again.
I checked the log file generated by the fprintks opcodes and see the following: As long as I work ‘normally’ in the DAW, the log file records the correct name of the wavetable file. When I initiate the render, the log file gets re-written and looks like before your fix, the strings from the combobox being empty. So it seems that REAPER starts a new instance of the plugin for a render bypassing the fix you made.