switched to storing profiles_ as a vector of profile* instead of a vector of xml_node because i shouldnt need to give out direct access to the xml_nodes
partially fixed optionswindow to not use old profiles anymore
added currentprofileindex to Config instead of specifiying it in optionswindow
fixed optionswindow to use cfg->profiles instead of storing locally
now builds correctly
fixed options buttons to call this->close instead of the optionswindow destructor
fixed deleting profiles