Implemented variable event saving/loading.