Fixed Metadata issue
Quick fix for ISO8859-1 attributes
Fixed X3D bug and introduced some debugging facilities