refactored mesh to remove broken inheritance
fixed node update tree
moved node matrix update from draw function to update function
renamed some vars