Fix striding bug and few assorted tweaks.