cleans up numerous superfluous returns in msf/core/module