I think I found a way to make all connections wait to render themselves until after the pins have rendered. It assumes that when the connection is initializing itself, EITHER the is_safe_to_render() function will return true OR it is OK to at that moment start listening for the event that says when it will be safe. I think this works but that it would be more element with a promise. also I have not had a chance to test this yet
more edits, want to switch branches
Merge branch 'master' into sync-connections
connections get drawn! at least the first time...
fixed merge conflicts