Fix the stopping/pending message when launching a slave

It currently always says the slave is stopping when it's launching an
instance. The while loop and switch have been modified so the
appropriate logging message appears now.
Merge pull request #116 from jsternberg/fix-launch-instance-message

Fix the stopping/pending message when launching a slave