Last for the night -- more error checking in DB Adapter, still tracking down a weird bug in writing workouts