Update elements to store the correct local name.

Due to this I had to introduce a tag stack that will keep track
of the stack of cuetext tags that have yet to be closed.