Update default.py

Reorganize slightly so that there is only one commit to db for the entire loop.
Merge https://github.com/blizzard2/1Channel into current_build