Add warning for extra defines in local_options.
Fix memory corruption in TELNET environment negotiation.