Fixed a bug in the command processor where it would always use the length of the first command instead of the current command
Removed some debug code