#4: fixed broken shuffle_bms and #PLAYER 2; proper handling of invalid #PLAYER value.

--HG--
branch : 2.0