Two HC-05 modules won't stay paired

jremington thanks for your thoughtful help. I made some code changes as you suggest. What does it mean when the sketch compiles OK, but uploading never finishes - just says "uploading" indefinitely?