forgot to do cleanup when the game was reset/quit (tail was just never freed between attempts, so it would eventually take up all memory!).