fix closing times, closes #619
Fix AP API datetime handling. Closes #600. Closes #601.
kill off dangling _generate_race_id referece, closes #636