You may still want to look at how you are using your braces relative to your indenting structure (see the addition to my note and the other comments). A good text editor like emacs (among others) will do a lot of this work for you.
Comment on (ichimunki) Re x 3: Can't quit my until loop