grammar fix
made everything a const and used DRY

added a bound function to bump ints to specified min
and max values (but if max < min, don't use it). Thanks @cespare.

Otherwise, all variables const for better documentation
added PostStyles function for post styles hook