Removed some errors

Now it will fully convert to a pnml file, without the control yet.