Fixed bug where Import, Import and Merge, and Import as New Profile would not save the data.
Cleaned up export_pastebin().
Cleaned up clear().
Cleaned up clear_all().