Optimization and fixed some major bugs

Some bugs were fixedIf destroyed between transitions from one edge to another the object was locked outside of playable area, fixed Some major optimization made, asset sizes went down to 2/3 of the original size.