Reviewed setPriority func.  Seems to be a var scope issue with the assertions I set up.  Tacked in some notes to fix it.  Need to code the fix and test it.