js hell. raw thoughts, need to be rewritten completely
listing is getting better
Initial commit for issue: separate event handling for dirs and files
that was a shame
added flag, that avoids double loading
things are getting better