fixed function name. Added settings function.

Added keyboard thread termination message.