Improved HistConsole & input file regex

Made History console Regex accept more spaces.
Input file regex to look for .csv at the END of the filename to avoid
using microsoft office/openoffice temporary files.