(QENG-1225) Exit nonzero if build fails, minor code cleanup.

Signed-off-by: Wayne Warren <waynr@sdf.org>
(QENG-1225) Fix documentation.

Signed-off-by: Wayne Warren <waynr@sdf.org>