Lock profile sync using a variable as a flag.
Using lock acquire.
Fix locking.
Merge pull request #5432 from openscholar/lock-sync

Lock profile sync
fix padding bottom rule when last child something after it. #5225
remove typo in classic responsive css file. #5284
make headers in wysiwyg look like the same as in a reg page. #5389
make body text in the wysiwyg look the way it does in the theme. #5389
Merge branch '5311' of github.com:openscholar/openscholar into SCHOLAR-3.x
Fix indentation and code review.