Made rendering & content loading thread safe.