Max file import size setting moved to web.config. A few related bugfixes.