gitk: Add a preferences dialog with some basic stuff