Refactored RandVarFromFunctions constructor to take opstruct; fixed a bug with specializing the Lua value ‘nil’
Refactored ‘checkForUpdates’ to use opstruct.