Main and the preferences dialog are done.
At least as far as the simple values. I have not made support for complex values like profiles yet.