Changed to using a HashMap instead of multiple vars for perms. Also started work on changing yon, yto, and yfrom to the new ycheck system (needs finished/checked!)