Fix timing issue when injected late

If the API or the emote-set-checking finished before the menu elements
were created (as in, late load when injected by other plugins), it would
error. Changed to only do those check after the menu elements and
listeners are added.