Added two new methods to the AJAX class.
Lots of changes to the base form class.