Added command "undefine" and fixed bug with "q" variable.