Fixes issue #19 where powerstats would crash with a ValueError whilst printing the stats table
updating .gitignore
Use Agg if X isn't available