Add a require of thingatpt
Added stream-detection using the new --emacs flag