some pep8 lintian work
- fix editing bug
- some more litian work
fix bug with the command tags causing crash (issue #14)
request password if db not open yet when displaying tags