added clean termination by typing quit, client IP logger, and bug fix for oscillator