Truncate displayed filenames in center

cleaned up some of the file format while I was at it.