Updated, with debug log.  Still needs work...
Now looks work fine.  Need to code clean up.