Remove blame buffer on being hidden
Extract buffer settings into separate function
Add comment to explain why blame window check is required