Hello,
Your thread is 17 pages long, i want to give free suggestion it better to write on code from small testing process in leds pattern.
then copying total code for project which can't be understand only called " Reverse Engg"
my thinking, anyway its your wish