Overhaul Ajax mechanism to make a clear distinction between Ajax and non-Ajax calls.  Some work on SessionMessage but needs a bit more thinking.