Hi, I'm only really skimming your thread but I can tell this will be very relevant:
» Pin I/O performance JeeLabs
digitalRead(), digitalWrite(), etc. are very slow, it's much faster to use...