Many bug fixes

Redid Serialize and Deserialize, changed the way Debug.log works, and
added/changed some list features.