Updated renderer with info to hide settings block

This code was written by Zei originally for the decaf theme.