add support of integer arguments in condition statements
fix converting integer arguments of condition statements from code to commands
update counter in in spin when it was entered from the keyboard