I don't think thread-safety is the only issue.

Overuse of globals simply lower the quality and robustness etc of your code to the point that it becomes completely unreadable/uncomprehensible for...