analog values stop at threshold

ifugaopapercraft:
The Serial.println in each "while" statement was necessary.

It should not have been necessary, and if the problem has 'gone away' when you added these then you are just avoiding it by a coincidence of timing and have not really fixed the problem. The print statements were intended to let you know what was happening inside your sketch, not to change the behaviour.