Fix the AI's button inversion issue.
Fix uploading replays.
Add replay= query string parsing