Removed duplicate function, added function descriptions, fixed a few bugs, and restructured priority-mode. Everything related to the features should be coded at this point and the console version should be done (aside from the inevitable unseen bugs).