Well, I'd written quite the long response here, but the board ate it. It makes me sad, as I'd been working on it for over an hour and had dragged out the FSMs, etc. to try and give you some ideas. Since I can never seem to duplicate my own thought process, I'll just suggest ballpark some shit...