made misc. syntax changes to various programs' source to make it a bit more consistant, fixed minor errors in cat, cp, and mv, normalised return codes