Fix some mem leaks
Fix crash in UploadGeometryVBOs
QTPFS NodeLayer minor