- Deleted unused variables and adding a couple of comments for the new flag `slideLapse`