[opwig] Updated parser/scanner debug output;
Added parser fsm output;
Reason for previously discovered bad_cast bug found - however we can't really fix it now. Commented out test;