preferences dialog

Signed-off-by: strippat <strippato@gmail.co>