i just compiled a new one with the stuff you pasted and added some random stuff for the rest of the dialogues.
it seems to work ok, do you see any errors while compiling?
It sounds like it tries to reference something that it can't find.
If not then hopefully someone more experienced will have an idea

.