Homogenize style.  Not tested if code works.

Changed style of the DB and UI scripts to match that of the other aospy
files and Python conventions.

Haven't tested whether the DB and UI portions are working, however,
because having trouble with getting ZODB installed.