make OK/cancel/apply buttons accessible on the settings form
fix minor bug in config file parser
finish up preliminary settings stuff