Misc fixes and implement committing loops with some but not all iterations specialised