Everything now saves properly (as far as I can tell)! Yay.