fixes lightentity, creates composite node for visual groups, other
changes to code