Added check to allow replacing commands.
Expanded documentation.
Fixed anchoring on controls for debug form.