Updated historic parameters

Changing parameter positions so that they are in line with previous
conventions.
Perfected "findCommandsToSend()" and commented out testing code

The “findCommandsToSend()” method now works as it should.