Hopefully fix race condition bug in marker click callback by using python properties that should be thread-safe.