Fixed removeAllCommands() bug that caused some commands not to be removed in certain usage scenarios.
Merge pull request #32 from ovidiuiliescu/2.4-preparation

Fixed removeAllCommands() bug that caused some commands not to be remove...