Allow multiple m and w.
Merge pull request #2 from kid-icarus/master

Allow multiple m and w.