Looks like it's working except it segged fault after entering a couple of commands. Why is there a trailing 'i' character when the command results are parsed?