DMO: fix serialization, check for errors in DecOpen...