Fixed bug with console crashing on 0-length commands