Fixed up the byte issue and attempted to fix other issues.  compiles