Various minor layout tweaks/improvements to prompt window.
Clean up context menu building.

Even if the inspect action is unavailable, continue building the rest
of the actions, since they can apply regardless of the value location.