Text this: A study of gain-clamping and injection locking in erbium-doped fiber amplifiers and ring lasers /