Rack middleware examples
Minor fixes