Improved preference dialog

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Merge branch 'NewArchitecture' of github.com:kduske/TrenchBroom into NewArchitecture