Fix gracelib bugs reported by C compiler
Fix copying error in loopinvariant sample
Explicitly track size of user object data
Removed random, added math, updated dependencies
Fix JS math module with missing commas