Fix a tp crash, and rework sound preloading slightly.