Modified BetMarshal for reloading modules.

SelectTab was added too.