Alternative prebuild script

For whatever reason, the previous one was getting in an endless loop on my machine.  Not sure if that's an issue on my end, but the following updates seemed to do the trick:
- touch output file to ensure it exists for while loop
- use single while loop that examines/greps last line of logfile
- echo progress while dendrite builds

As with the other pr, no rush