Assertions re:main thread