Fix: NPE with groups
Added: Allow spaces at groups variables, too
Changed: Log stacktraces to debug.log