added cast option and ability to add additional arguments to the cast function call in the event that caster function is not anonymous
bugfixes, small features