Fixed lighting and disappearing meshes issue by bringing in mesh and reb...

...uilding as necessary.