fixes rendera_CXXFLAGS, adds AM_CXXFLAGS, source code tweaks throughout to fix Werrors

removes some unused variables
Merge pull request #32 from rubicks/ceeplusplus

fixes rendera_CXXFLAGS, adds AM_CXXFLAGS, source code tweaks to fix Werrors