Added more working settings; Fixed bug

- Fixed bug where file wouldn't close
- Nick, user, real name and channels to join can now be set from the
config file