finishing up reference.js, sorting help, minor reworking of some things to make them make more sense to the player