Context printing

Here are the changes to UI.jl for context printing (issue #37).  The code has been cleaned up and tested with julia-0.1 (which Debug.jl does not segfault under).