Fix some minor problems
Cosmetic changes.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Redesign preference dialog and other cosmetic changes.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>