Fixed a bunch of bugs with replay parsing