Just this very second sort out my error. Obviously some hangover from a previous compile - went through and rebuilt everything from scratch as the problem went away. Annoying, as thought I had already done that.
I was getting a toolbar error as well when I first worked on this (year or so ago), cannot remember the exact cause - need to check my code.