Updated Modules and Core

Fixed several bugs with several modules, fixed CORE_fnc_setVariable with
broadcasting.