Some error message improvements / better CSRF message

I created these commits in order to provide a better understandable CSRF alert message. With this some other minor improvements have been done, see individual commit messages.