fix url formatting in wsgi fatal error logs
fix tms capabilities in demo for tms with use_grid_names