Added map and download buttons to datafile display; small code cleanups