Load unload modified

Loading and Unloading is determined by an int defined in main.h. Better than comparing strings and storing uneccesary data.