ToolForm: Additional validation for batch mode, style fixes