Added Ajax error msgs. Still needs a lot of work.