Threading

This pull request is for the asynchronous mesh loader.