- function userbutton_handler(): stop parsing the shortcut string if the key name is invalid - function userbutton_handler(): incrementing variable 'len' simplified - function snapshot_checker(): fixed a warning