Fixed issue with givenID and studentID; added enableRemaining function;
Merge with master branch.