Got the startup root prompt working better

Added waitFor to the Root request. This seems to work better. It causes
the app to wait for the commands to finish before moving on.