adds some checks before proceeding

checks if an avatar exists before displaying the avatar
- this isn't usually a problem but if there's no avatar at all (bc it's a trackback) you'll get an empty thumbnail wrapper

checks the depth vs the max depth
- this will hide the button if we're past the max depth. again this results in an empty button if the check isn't done.