Speed up show() a bit

This code change tries to conserve a few cycles by not creating strings objects that aren't needed. It's only a little bit faster, but I think it also makes the code more readable. In the long run, we should make our own showcompact method that will give us the indirection necessary to truncate strings to fit in the REPL's windows column space.