add mutex protection to thumb profile access

Authored by alcinos on Apr 9 2019, 12:38 AM.