fixed bug with resource not updating, and resource.history not being
correctly grabbed from gymmaster.
	fixed bug with Classes.