Added new option -validatecommand to handle callbacks that require a return value.
Consolidated evaluate callback commands into one function EvalCallback.
Return alert codes for callbacks.
Added more comments to callback functions.