Fix Some of the rendering errors/Tree errors.
Merge remote-tracking branch 'upstream/master'
Fix PacketStencilTable
Code Clean up
Merge pull request #488 from alexbegt/master

Fix some more bugs.