Added functions into contrib, working logging, updated testing for core and context, beginning work with global save feature