initial support for nextgen renderer
some improvements
removing -g from makefile
making single branch to support twbt nextgen and standard renderers