Multi line repl

Can someone put some fresh eyes on this.  I haven't had enough sleep to just merge this into master all fast and loose.

If it's mergable, it should close #29 and #147.