used BOF and EOF to define global, made some fixes with inline func expressions... -sai
used BOF and EOF to define global, made some fixes with inline func expressions... -sai

scottidler/sota,scottidler/sota,scottidler/sota