adding secret experimenter key
cleanup and fixing the end of an experiment
function to check whether a specific key has been held for a specified amount of time