BugzillaBuglist - some code refactoring