remove unused and never to be used pagination
remove table layout for background jobs
wrap code output in error messages, fix #4231