Refactored many shits in attempt of preventing double MUC joins.