Fixed up serialize i think, much better stucture, and do lots of checks before entering new modified serialized data