Added some error checking to the analysis launch form.
Added a function for checking the contents of the analysis launch form.