I've also experienced this glitch in the accuracy of my friends list, so I tested things this morning by logging in simultaneously with two different browsers. On one of them it showed a friend who was online and green, the other showed him offline. I refreshed both browsers and got the same result.
So (sigh) I cleared my Flash cache and that brought back the missing friend to my list of online players.