I figured out the issue, and solution. Nuke doesn't allow multiple instances.
I had to omit line 1, 2, and 5.
Not sure exactly why this works...but Nuke had issues calling those lines from inside a function. So instead of calling the function, I just call window.show()
Bookmarks