refactor configuration window

Each category creates now its own fieldset.

Additional bug fixes (caused by previous commits):
 - type in trimp class
 - reload flags for data browser / training did not work
 - reload data browser did not work twice