fix bug of thumbnail saving
ignore logs/*
update gruntfile