made numerous changes to fix issues when compiling on linux; more to go... -sai
made numerous changes to fix issues when compiling on linux; more to go... -sai