Fixeroo2

So here's a variety of tweaks and one new feature: the `export` builtin. It turns out most of the weirdness I was seeing with inputs had to do with local-echo being enabled in the pts example. I've fixed that and added the same fix to the example in readme.markdown