Folders need to be setup before initializing the GUI

This fixes the incomplete context menu
Cleanup in folderman