removed dead code
open and close filelists when they are displayed, fixes #5