Fixed deserialisation bugs, added debuggerdisplay