changed no input threshold and added a limit for length of gesture names