more ajax fiddling
cleaned up the tasks