Export dialog

A big rework of the export dialog, _in progress_. Simplifies a lot of logic, works on the style of it.

For instance:

![](http://dl.dropbox.com/u/68059/Screenshots/2dojz~jyi9fm.png)

Questions about this:

* Should we start using SASS-esque CSS?