fixed generating new ids for all objects, added winlose reaction
Fixed loads of bugs. build for julian