Added code to apply settings to a block.

Includes tweaking the settings dictionary to be all lower case for
uniformity with the parser's identifiers.