Lookup strings at runtime if necessary
Added support for wval, fix bug in sp_p6oget_*