Fix memory issues and tmlblock reuse
Fix issues: export was not exporting ordered vertex, fix block no zd on windows