fixed a bug in r_str_replace
Documents asm.lineswidth and fix a typo
Fix #183 - pif doesn't stop at function's end
Fix #177 - Tab-completion chomps previous text

- Optimize autocompletion by not using the heap
Merge remote-tracking branch 'upstream/master'