This a semi-stable version with Semaphores added.  Working on using dynamic arrays vs. static arrays now.