Improved configuration file parsing; connection closing improvements; code improvements;