compare string instead of pointer :-/
make queueCommand public
fix line endings