update grunt config and give .t some fixes.