Beginning work on preferences panel
Now with basic preferences dialog