continue to replace dbic with raw dbi for the frontend
split up long lines, tweak a few settings