Remove unused code
Fix canvas size
Change replay object format