Improve core error messages

Now with arguments.