Improved mesh renderer to use dynamic rather than stream, also performance improvements.