mask fixes, stop and start capture for increased speed