Added clean core names to CoreSettings...
Also filled in unload() function in the core.cpp file,
to release all libretro data and avoid memory leaks.