strip slash (/) from pathname in render.py, autosuggest improvements