Currently, when checking 'Show folder content', all the folders get populated.
Make it work like this:
- When checking the box, only load and show files in expanded folders
- Folders containing no child folders but files (check in the db!) must show the expand sign.
- Check if files have to be shown when a folder is being expanded for the first time and load them if needed. Subsequent expands shouldn't trigger anything