Updated to Autofac 3.0.
Removed explicit resolution and used Autofac's new auto activation instead.
Added configuration of the maximum number of recent files to keep to the UI.
Fixed header and formatting.