attempt to fix help2man problems
fixed compiler errors/bugs on hardy
ABI narrowing
moved common code to CommandBase