results page a bit nicer
error messages and the beginning of moving result.html to sqlite instead
of files