passed in unicode caption variables and other debugging. closes #185