Adjusted is_word_delimiter() and is_command() to be cleaner and more efficient
Changes to make sure commands and buffer added to streams are not freed.
Merge branch 'stacks'