this should have been comitted loooong time ago
Fixed user prefs should be used
Kommenteret kode
ReFAGtor
Merged with develop