Ajax and UI development

Ajax is working, more parts are glued together; AJAX needs refinement
and completion.