Loglists are freed correctly even if they had no open files
Removed ncurses dependency from appstate
Added configuration file support and some documentation