string to be copied, we now just copy the passed pointer. Also fixed bug with handling of NULL passed to menu_userptr.