make method defs return the function they modify

fixes #2187
for neatness, print a short message for method defs at the prompt,
but continue to show generic functions as before.
tidy up some of the stranger printings