Moving the init stuff as a last resort. And of course that fixes it.
Removing debug code
Yay! It's you, my favorite!