I think the way im going to do this is forget the while or for loops.
im going to do a loop like this and if memory it will work. as in the none loop function that gets signaled once and only once unless called upon again set the related condition to true. my idea was this..
if(condition1) {
code abc.....
condition1 = false; (at the end of its function/code block)
thinking that way next loop it wont be true anymore and it wont adjust say the red led. until 1 or any other condition is set true then this will run its function and set it back to false. is my assumption right?