Sinatra now correctly returns code 404 when a page is not found. Closes #1198