Merge "Add more documentation explaining main thread requirements." into main