 
 c = new MainController()
 
-for mode in conf.settings.logGuiModus.value
-  c.log.addListener mode, (txt) ->
-    c.addLog "#{c.GUILogs.length+1}| #{txt}"
+conf.addListener "loaded", ->
+  for mode in conf.settings.logGuiModus.value
+    c.log.addListener mode, (txt) ->
+      c.addLog "#{c.GUILogs.length+1}| #{txt}"
+      
+c.loadConf()
 
 
 vueSettings = Vue.extend({


  clearLog: =>
    @GUILogs = []

  getDataflux: (index) ->
    conf.folders[index]

    @log = logFactory.makeLog()
    @GUILogs = []
    @conf = Conf.makeConf()

  addLog: (txt) =>
    log = txt.split "|"
