Removed unneded code, fixed stats, added GUIDs.