I just moved all debug messages from reading/writing to the Datastore to a top-level function and added a global variable to turn them off.