pep8 fixes
actionhandler now uses the db.getdict() correctly