Fix syntax error in Season Notebook.
Move DB upgrades and opening to a module.